package demo02;

public class Pursuit implements IGiveGift {
  SchoolGirl schoolGirl;

    public Pursuit(SchoolGirl schoolGirl) {
        this.schoolGirl = schoolGirl;
    }

    @Override
    public void GiveDolls() {
        System.out.println(schoolGirl.getName()+"give you a Dolls");
    }

    @Override
    public void GiveFlowers() {
        System.out.println(schoolGirl.getName()+"give you a Flowers");

    }

    @Override
    public void GiveChocolate() {
        System.out.println(schoolGirl.getName()+"give you a Chocolate");

    }
}
